package com.lhlk.初始化;

import java.lang.reflect.Field;

public class test2 {
    public static void main(String[] args) {
        Student student=new Student();
        Class aClass = student.getClass();

        System.out.println(aClass.getSimpleName());
        System.out.println(aClass.getName());
        Field[] fields = aClass.getFields();
        System.out.println(fields);
    }
}
